﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PongApplication.Shapes
{
    public class Rectangle : Shape
    {
        private Rectangle rectangle;

        public int width { get; set; }
        public int height { get; set; }

        public override Rectangle boundingBox
        {
            get
            {
                return new Rectangle(this);
            }
        }

        public Rectangle(int x, int y, int width, int height) : base(x, y)
        {
            this.width = width;
            this.height = height;
        }

        public Rectangle(Rectangle origine) : base(origine.x, origine.y)
        {
            this.width = origine.width;
            this.height = origine.height;
        }

    }
}
